{include file="header.html"}
<script type="text/javascript">
$(function(){
    $('#add_time').datepicker({dateFormat: 'yy-mm-dd'});
});
</script>
{$build_upload}
<div id="rightTop">
    <p>{$lang.article}</p>
    <ul class="subnav">
        <li><a class="btn1" href="index.php?app=article">{$lang.manage}</a></li>
        <li><a class="btn1" href="index.php?app=article&amp;act=add">{$lang.add}</a></li>
    </ul>
</div>
<div class="info">
    <form method="post" enctype="multipart/form-data">
        <table class="infoTable">
            <tr>
                <th class="paddingT15">
                    <label for="cate_id">{$lang.category}:</label></th>
                <td class="paddingT15 wordSpacing5">
                    <select id="cate_id" name="cate_id"><option value="">{$lang.select_pls}</option>{html_options options=$parents selected=$article.cate_id}</select>{$lang.article_tip2}
                </td>
            </tr>
            <tr>
                <th class="paddingT15">
                    {$lang.add_time}:</th>
                <td class="paddingT15 wordSpacing5">
                    <input class="infoTableInput2" id="add_time" type="text" name="add_time" value="" />{$lang.article_tip1}
                </td>
            </tr>
            <tr>
                <th class="paddingT15">
                    {$lang.sort_order}:
                </th>
                <td class="paddingT15 wordSpacing5">
                    <input class="sort_order" id="sort_order" type="text" name="sort_order" value="" />{$lang.article_tip2}
                </td>
            </tr>
            <tr>
                <th></th>
                <td class="ptb20"><input type="hidden" name="id" value="{$smarty.get.id}" />
                    <input class="formbtn" type="submit" name="Submit" value="{$lang.submit}" />
                    <input class="formbtn" type="reset" name="Reset" value="{$lang.reset}" /></td>
            </tr>
        </table>
    </form>
</div>
{include file="footer.html"} 